<!DOCTYPE html>
<html lang="zh-CN">
<head>
        <meta charset="UTF-8">
        <title>add</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="../../static/layuiadmin/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="../../static/layuiadmin/style/admin.css" media="all">
    <link rel="stylesheet" href="../../static/cropper/cropper.css" media="all">
</head>
<body style="padding: 20px">
<form class="layui-form" action="">
       <input id="id" name="id" type="hidden">
        <div class="layui-form-item">
            <label class="layui-form-label">昵称</label>
            <div class="layui-input-block">
                <input type="text" id="nickname" name="nickname"   placeholder="请输入昵称" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">电话</label>
            <div class="layui-input-block">
                <input type="text" id="phone" name="phone" maxlength="11"  placeholder="请输入电话" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">真实姓名</label>
            <div class="layui-input-block">
                <input type="text" id="name" name="name"   placeholder="请输入真实姓名" autocomplete="off" class="layui-input">
            </div>
        </div>

        <!--图片地址-->
        <div class="layui-form-item"  >
            <label class="layui-form-label">头像地址</label>
            <div class="layui-upload"  style="float:left;">
                <button type="button" class="layui-btn" id="test1"><i class="layui-icon layui-icon-upload"></i>上传头像</button>
                <input type="hidden" id="avatarUrl" name="avatarUrl" style="margin-left: 35px;"/>
                <div class="layui-upload-list" style="width: 170px;float: right;margin-left: 50px;">
                    <img class="layui-upload-img"   id="picture"  style="width: 100%;height: auto;" src="">
                    <p id="demoText"></p>
                </div>
            </div>
        </div>

    <button id="submit" class="layui-btn" lay-submit="" lay-filter="demo1" style="display: none;">立即提交</button>
</form>
<script src="../../static/js/zoneCommonJs/jquery.min.js"></script>
<script src="../../static/js/zoneCommonJs/jquery.cookie.js"></script>
<script src="../../static/js/zoneCommonJs/common.js"></script>
<script src="../../static/layuiadmin/layui/layui.js"></script>
<script src="../../static/cropper/cropper.js"></script>
<script src="../../static/js/user/add.js"></script>
</body>
</html>